projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3474c5
)
Mark python-shell-virtualenv-root as safe for directories
author
Philip K
<philip@warpmail.net>
Sat, 30 May 2020 19:47:51 +0000
(21:47 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 13 Jun 2020 07:40:13 +0000
(10:40 +0300)
* lisp/progmodes/python.el (python-shell-virtualenv-root):
Require a directory name. (Bug#41619)
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index aec27a58dea50412a5e9c214116610e5d6eda5ce..0ce80db1993df1ca3317658b753c990d701a5023 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-2092,7
+2092,8
@@
executed through tramp connections."
This variable, when set to a string, makes the environment to be
modified such that shells are started within the specified
virtualenv."
- :type '(choice (const nil) string)
+ :type '(choice (const nil) directory)
+ :safe #'file-directory-p
:group 'python)
(defcustom python-shell-setup-codes nil